package com.qk.controller;

import com.qk.common.Result;
import com.qk.service.ReportService;
import com.qk.vo.portal.ReportOverviewVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhangchuang
 * @Date: 2025/10/16 15:48
 * @Description: 报表控制器
 */
@RestController
@Slf4j
public class ReportController {
    @Autowired
    private ReportService reportService;

    @RequestMapping("/report/overview")
    public Result getReport() {
        log.info("获取报表");
        ReportOverviewVO vo = reportService.getReport();
        return Result.success(vo);
    }

}
